package tr3dtris.game.controller.inputMapper;

import java.awt.event.KeyEvent;

/**
 * Interface used to describe the methods needed by a generic input mapper.
 * @author Luciano Mammino <loige@hotmail.com>
 * @author Andrea Mangano <kapitan0@hotmail.it>
 * @version 0.1
 * @since 0.1
 */
public interface IInputMapper
{
    /**
     * Parses the parseKeyTyped event dispatched by a KeyListener
     * @param e
     */
    public void parseKeyTyped(KeyEvent e);

    /**
     * Parses the KeyPressed event dispatched by a KeyListener
     * @param e
     */
    public void parseKeyPressed(KeyEvent e);

    /**
     * Parses the KeyReleased event dispatched by a KeyListener
     * @param e
     */
    public void parseKeyReleased(KeyEvent e);

}
